/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.data;

/**
 *
 * @author Rafael
 */
public class City extends Skeleton
{
    private int homeStateId = 0;

    public int getHomeStateId()
    {
        return homeStateId;
    }

    public void setHomeStateId( int homeStateId )
    {
        this.homeStateId = homeStateId;
    }
    
    @Override
    public boolean equals( Object obj )
    {
        if ( obj == null )
        {
            return false;
        }
        if ( getClass() != obj.getClass() )
        {
            return false;
        }
        final City other = ( City ) obj;
        if ( this.getId() != other.getId() )
        {
            return false;
        }
        return true;
    }
}
